package org.deng.learn.designpattern.state;

/**
 * @author DengLibin
 * @Description 锁定状态
 * @Date 2019/3/14 0014 16:15
 */
public class LockState implements ClientState {
    @Override
    public void showChatForm() {
        System.out.println("客户端被锁定了，请先解锁");
    }

    @Override
    public void sendMsg(String msg, String receiver) {
        System.out.println("锁定状态无法发送消息");
    }
}
